<%@ tag pageEncoding="UTF-8"%>
<%@ attribute name="nvgList" type="java.util.List" required="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tag" tagdir="/WEB-INF/tags" %>

<c:forEach var="nvg" items="${nvgList}">
	<li>
		 <a value="${nvg.id}">${nvg.title}</a>
		<c:if test="${nvg.children !=null }">
			<ul>
				<tag:titleSelectTreeItems nvgList="${nvg.children}"></tag:titleSelectTreeItems>
			</ul>
		</c:if>
	</li>
</c:forEach>